<%--
  Created by IntelliJ IDEA.
  User: HuangLiting
  Date: 2018/5/9
  Time: 16:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<html ng-app="lmDetailApp">
<head>
    <meta charset="UTF-8">
    <title>后台管理</title>
    <link rel="stylesheet" type="text/css" href="css/layui.css"/>
    <link rel="stylesheet" type="text/css" href="css/admin.css"/>
    <link rel="stylesheet" type="text/css" href="css/main.css"/>
    <link rel="stylesheet" type="text/css" href="css/houtai.css"/>
    <script type="text/javascript" src="js/libs/modernizr.min.js"></script>
</head>
<body ng-controller="lmDetailController">
<jsp:include page="/header.jsp"></jsp:include>
<div class="container clearfix">
    <!--/sidebar-->
    <jsp:include page="/leftBar.jsp"></jsp:include>
    <div class="main-wrap">
        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="#" color="#white">首页</a>
                <span class="crumb-step">&gt;</span><span class="crumb-name">实验室信息</span>
                <span class="crumb-step">&gt;</span><span class="crumb-name">实验室信息详情</span></div>
        </div>
        <div class="result-wrap">
            <blockquote class="layui-elem-quote">
                <span ng-bind="msg.lname" style="font-size: 20px;"></span>
            </blockquote>
            <input type="hidden" value="${lidx}" id="getLid">
            <div class="result-content">
                <form method="post">
                    <table class="insert-tab" width="100%">
                        <tbody>
                        <tr>
                            <th width="120">实验室编号：</th>
                            <td ng-bind="msg.lid">
                            </td>
                        </tr>
                        <tr>
                            <th width="120">实验室名称：</th>
                            <td>
                                <input class="common-text required select-css" type="text" name="lm-lname" id="lm-lname" ng-value="msg.lname" ng-model="lname" />
                            </td>
                        </tr>
                        <tr>
                            <th width="120">实验室介绍：</th>
                            <td>
                                <input class="common-text required select-css" type="text" name="lm-lintroduce" id="lm-lintroduce" ng-value="msg.lintroduce" ng-model="lintroduce" />
                            </td>
                        </tr>
                        <tr>
                            <th width="120">实验负责人：</th>
                            <td>
                                <input class="common-text required select-css" type="text" name="lm-lresponsible" id="lm-lresponsible" ng-value="msg.lresponsible" ng-model="lresponsible" />
                            </td>
                        </tr>
                        <tr>
                            <th width="120">实验室座位数：</th>
                            <td>
                                <input class="common-text required select-css" type="text" name="lm-lcapacity" id="lm-lcapacity" ng-value="msg.lcapacity" ng-model="lcapacity" />
                            </td>
                        </tr>
                        <tr>
                            <th>实验室状态：</th>
                            <td>
                                <select class="common-text required select-css" name="la-status" id="la-status" required="" ng-value="msg.lstatus" ng-model="lstatus">
                                    <option value="0">可以使用</option>
                                    <option value="1">不可使用</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <th></th>
                            <td>
                                <button class="layui-btn" ng-click="updateLm()">立即更新</button>
                                <button class="layui-btn layui-btn-primary" ng-click ="backTolmList()">返回</button>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </form>
            </div>
        </div>
    </div>
    <!--/main-->
</div>
</body>
<script src="js/jquery.min.js"></script>
<script src="js/angular.min.js"></script>
<script src="js/laboratorydetail.js"></script>
<script>

</script>
</html>

